﻿$(".rc1_tab1tit span").click(function () {
    var MessTd = $(this).parent().parent().next().children();
    var MessID = $(this).next().val();
    var MessImg = $(this).next().next();
    var MessDIV = MessTd.children();
    var StatusTd = $(this).parent().next().next();
    $(".MesTD").hide();
    $(".ThisMess").hide();
    MessTd.fadeIn();
    MessImg.show();
    if ($.trim(MessDIV.html()) == "") {
        MessDIV.block({ message: '<img alt="加载中" src="/images/Loading/Uploader.gif" />', css: { border: 'none', backgroundColor: 'transparent'} });
        $.post("Mess.aspx", { Check: "GetMess", MessID: MessID },
                   function (ReturnMess) {
                       MessDIV.unblock();
                       StatusTd.html("已读");
                       MessTd.html(ReturnMess);
                   });
    }

})